package Stream;

import java.util.HashMap;

public class StreamDemo3 {
    public static void main(String[] args) {
        HashMap<String ,Integer> hm = new HashMap<>();
        hm.put("a",111);
        hm.put("b",222);
        hm.put("c",333);
        hm.put("d",444);
        hm.keySet().stream().forEach(s -> System.out.println(s));
    }
}
